﻿namespace SXICE.Core.Models
{
    /// <summary>
    /// 分页列表查询条件
    /// </summary>
    public class PageListQuery
    {
        /// <summary>
        /// 页码（从0开始）
        /// </summary>
        public int PageIndex { set; get; }

        /// <summary>
        /// 每页显示条数
        /// </summary>
        public int PageSize { set; get; }
    }

    /// <summary>
    /// 列表页查询条件
    /// </summary>
    public class PageListQuery<T> : PageListQuery
    {
        /// <summary>
        /// 条件
        /// </summary>
        public T Condition { set; get; }
    }
}
